<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/taglibs.jsp" %>

<h1>
	Step1:
</h1>
<a href="${flowExecutionUrl}&_eventId=cancel"><fmt:message key="button.back" /></a>
<br />
<br />

<form:form modelAttribute="user" action="${flowExecutionUrl}" method="post">
<table collspadding="0px" border="0px" width="800px">
	<spring:hasBindErrors name="user">
	<tr>
		<td>
			<div class="error">Error happened!</div>
		</td>
	</tr>
	</spring:hasBindErrors>
</table>
	
<table  collspadding="0px" border="0px" width="800px">
	<tr>
		<td width="200px">
			
		</td>
		<td width="200px">
			
		</td>
		<td width="200px">
			
		</td>
		<td width="200px">
			
		</td>
	</tr>
	
	<tr>
		<td width="200px">
			<fmt:message key="user.form.username" />:
		</td>
		<td width="200px">
			<form:input path="username" />
		</td>
		<td width="200px">
			<form:errors path="username" cssClass="formerror" />
		</td>
		<td width="200px">
			
		</td>
	</tr>
	
	<tr>
		<td width="200px">
			<fmt:message key="user.form.password" />
		</td>
		<td width="200px">
			<form:input path="password" />
		</td>
		<td width="200px">
			<form:errors path="password" cssClass="formerror" />
		</td>
		<td width="200px">
			
		</td>
	</tr>
	
	<tr>
		<td colspan="4" class="buttonBar">
			<input type="hidden" name="_flowExecutionKey" value="${flowExecutionKey}"/>
			<input type="submit" class="button" name="_eventId_cancel" value="Cancel"/>
			<input type="submit" class="button" name="_eventId_next" value="Next"/>
		</td>
	</tr>
</table>	
</form:form>
